#include <QCoreApplication>
#include "discount.h"
#include "discountfactory.h"
int main(int argc, char *argv[])
{
    DisCount* c =  DisCountFactory::buildInstance( );
    float f =  c->count(51);
    cout <<  f<< endl;
}
